package org.extremengine.shape;

import org.extremengine.common.Point;

public class Curve extends Shape {

	private CurveFunction function;

	public Curve(CurveFunction function) {
		super();
		this.function = function;
	}

	@Override
	public Point getBarycenter() {
		throw new UnsupportedOperationException();
	}

	@Override
	public void transform(double deltax, double deltay) {
		throw new UnsupportedOperationException();
	}

	public CurveFunction getFunction() {
		return function;
	}

	public void setFunction(CurveFunction function) {
		this.function = function;
	}

	@Override
	public Shape clone() {
		throw new UnsupportedOperationException();
	}
}
